package com.yitongmao.bean;

import java.util.List;

/*
* 作者：梁伟航 on 2017/8/11 18:16
* 类的用途：
*/
public class TuiHuoShouhouBean {

    /**
     * result : {"state":"1","code":"SUCCESS","url":null,"obj":null,"isRollBack":null,"message":"查询成功!"}
     * refundList : [{"id":147,"orderId":0,"codePre":"2017","codeSuf":"4440007","transactionId":0,"orderCode":"20171669590007","userId":0,"isAuto":null,"type":null,"state":"01","createTime":"2017-08-11 12:02:59","updateTime":null,"version":0,"operatorId":null,"stateName":"正在处理","serviceCode":"20171474440007","goodsIds":null,"asq":{"id":0,"afterSalesServiceId":0,"content":null,"pic":null,"userId":0,"isUser":null,"createTime":null},"orderGoods":[{"id":0,"goodsId":23,"num":0,"title":"护肤","thumb":"http://demo-file.cdtupsmfw.com/images/2017/08/09/1502264031129778_thumb.jpg","price":null,"afterSalesServiceId":0,"refundState":null,"operatorId":null,"refundPrice":null}]},{"id":145,"orderId":0,"codePre":"2017","codeSuf":"2840007","transactionId":0,"orderCode":"20171669590007","userId":0,"isAuto":null,"type":null,"state":"01","createTime":"2017-08-11 11:31:16","updateTime":null,"version":0,"operatorId":null,"stateName":"正在处理","serviceCode":"20171452840007","goodsIds":null,"asq":{"id":0,"afterSalesServiceId":0,"content":null,"pic":null,"userId":0,"isUser":null,"createTime":null},"orderGoods":[{"id":0,"goodsId":23,"num":0,"title":"护肤","thumb":"http://demo-file.cdtupsmfw.com/images/2017/08/09/1502264031129778_thumb.jpg","price":null,"afterSalesServiceId":0,"refundState":null,"operatorId":null,"refundPrice":null}]}]
     */

    public ResultBean result;
    public List<RefundListBean> refundList;

    public static class ResultBean {
        /**
         * state : 1
         * code : SUCCESS
         * url : null
         * obj : null
         * isRollBack : null
         * message : 查询成功!
         */

        public String state;
        public String code;
        public Object url;
        public Object obj;
        public Object isRollBack;
        public String message;
    }

    public static class RefundListBean {
        /**
         * id : 147
         * orderId : 0
         * codePre : 2017
         * codeSuf : 4440007
         * transactionId : 0
         * orderCode : 20171669590007
         * userId : 0
         * isAuto : null
         * type : null
         * state : 01
         * createTime : 2017-08-11 12:02:59
         * updateTime : null
         * version : 0
         * operatorId : null
         * stateName : 正在处理
         * serviceCode : 20171474440007
         * goodsIds : null
         * asq : {"id":0,"afterSalesServiceId":0,"content":null,"pic":null,"userId":0,"isUser":null,"createTime":null}
         * orderGoods : [{"id":0,"goodsId":23,"num":0,"title":"护肤","thumb":"http://demo-file.cdtupsmfw.com/images/2017/08/09/1502264031129778_thumb.jpg","price":null,"afterSalesServiceId":0,"refundState":null,"operatorId":null,"refundPrice":null}]
         */

        public int id;
        public int orderId;
        public String codePre;
        public String codeSuf;
        public int transactionId;
        public String orderCode;
        public int userId;
        public Object isAuto;
        public Object type;
        public String state;
        public String createTime;
        public Object updateTime;
        public int version;
        public Object operatorId;
        public String stateName;
        public String serviceCode;
        public Object goodsIds;
        public AsqBean asq;
        public List<OrderGoodsBean> orderGoods;

        public static class AsqBean {
            /**
             * id : 0
             * afterSalesServiceId : 0
             * content : null
             * pic : null
             * userId : 0
             * isUser : null
             * createTime : null
             */

            public int id;
            public int afterSalesServiceId;
            public Object content;
            public Object pic;
            public int userId;
            public Object isUser;
            public Object createTime;
        }

        public static class OrderGoodsBean {
            /**
             * id : 0
             * goodsId : 23
             * num : 0
             * title : 护肤
             * thumb : http://demo-file.cdtupsmfw.com/images/2017/08/09/1502264031129778_thumb.jpg
             * price : null
             * afterSalesServiceId : 0
             * refundState : null
             * operatorId : null
             * refundPrice : null
             */

            public int id;
            public int goodsId;
            public int num;
            public String title;
            public String thumb;
            public Object price;
            public int afterSalesServiceId;
            public Object refundState;
            public Object operatorId;
            public Object refundPrice;
        }
    }
}
